package org.sixtynine.stock.dao;

/**
 * @author Thilan
 *
 */

import java.util.Date;
import java.util.List;

import org.sixtynine.stock.dto.GridPramDTO;
import org.sixtynine.stock.dto.Page;
import org.sixtynine.stock.entity.CustomerUpgrade;

public interface CustomerUpgradeDao extends
		AbstractDao<CustomerUpgrade, Integer> {

	void saveCustomerUpgrade(CustomerUpgrade customerUpgrade);

	List<CustomerUpgrade> searchCustomerUpgrade(int packageId);

	CustomerUpgrade searchCustomerUpgradeFromCustomer(int customerId);

	CustomerUpgrade searchCustomerUpgrade(String orderId);

	public Page<CustomerUpgrade> searchCustomerUpgrade(int packageId,
			Date fromDate, Date toDate, String orderBy, GridPramDTO gridPramDTO);

}
